i2c: mxc: Print hex instead of decimal for bus address
authorJagan Teki <[email protected]>
Mon, 5 Dec 2016 23:00:58 +0000 (00:00 +0100)
committerStefano Babic <[email protected]>
Fri, 16 Dec 2016 16:15:27 +0000 (17:15 +0100)
commit65c92e4f39d1e61b7c5f6b086f1fdf5fac72d6e0
treead3ddf7232bfd7f32c21733f13790afb161cb485
parent72c8c10b7357b9edf344fb06fa4bc968edfa4156
i2c: mxc: Print hex instead of decimal for bus address

Better to print the hex value for bus address instead of
decimal, for more readbility on bus addressing.

Before:
------
U-Boot> i2c dev 1
Setting bus to 1
i2c bus 1 at 35274752, no gpio pinctrl state.

After:
------
U-Boot> i2c dev 1
Setting bus to 1
i2c bus 1 at 0x21a4000, no gpio pinctrl state.

Cc: Simon Glass <[email protected]>
Cc: Heiko Schocher <[email protected]>
Cc: Peng Fan <[email protected]>
Cc: Michael Trimarchi <[email protected]>
Signed-off-by: Jagan Teki <[email protected]>
Acked-by: Heiko Schocher <[email protected]>
drivers/i2c/mxc_i2c.c